#include "GenericDBFile.h"
#include "Defs.h"



int GenericDBFile::Create(char* f_path){
    dbFile.Open(0, f_path);
    if(dbFile.GetFilDes() < 0)
        return 0;
    else
        return 1;
}

int GenericDBFile::Open(char* f_path){
    dbFile.Open(1, f_path);
    if(dbFile.GetFilDes() < 0)
        return 0;
    else
        return 1;
}

GenericDBFile::~GenericDBFile(){
}
